<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/workplan.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			
		}
	});
});
</script>

<#import "/freemarker/modeltype.ftl" as mt>
<#import "/freemarker/modeltype_entity.ftl" as mte>
<div>
	<h3 class="title"><i class="fontello-icon-th-list-1"></i> 编辑工作计划</h3>
</div>
<div class="widget" >
	<div class="widget-content">
		<form id="editForm">
			<table style="width:400px;" class="table table-bordered">
				<tr height="40">
					<td style="width: 100px;">计划名称</td>
					<td>
						<input type="text" id="name" name="name" value="${(workplan.name)!''}" />
						<input type="hidden" id="code" name="code" value="${(workplan.code)!''}" />
					</td>
				</tr>
				<tr>
					<td>本月计划(总体的)</td>
					<td><input type="text" id="monthplan" name="monthplan" value="${(workplan.monthplan)!''}" /></td>
				</tr>
				<tr height="40">
					<td>上周完成</td>
					<td><textarea type="text" id="complete" name="complete" value="${(workplan.complete)!''}" /></td>
				</tr>
				<tr height="40">
					<td>下周计划</td>
					<td><textarea type="text" id="nwplan" name="nwplan" value="${(workplan.nwplan)!''}" /></td>
				</tr>
				<tr height="40">
					<td>备注</td>
					<td><textarea type="text" id="remark" name="remark" value="${(workplan.remark)!''}" /></td>
				</tr>
				<tr height="40">
					<td colspan="2" style="text-align: center;">
						<a href="javascript:;" class="btn btn-info" onclick="javascript: save_workplan(); return false;">&nbsp;保&nbsp;&nbsp;存</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="javascript:;" class="btn btn-primary" onclick="javascript: sys_load_handle('workplan');return false;">&nbsp;取&nbsp;&nbsp;消</a>
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>